package com.rules.admin.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.rules.admin.json.Long2String;
import com.rules.admin.json.String2Long;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


@Data
@TableName("RUL_DATA_DICT")
public class DataDictModel implements Serializable {
    @JsonSerialize(
            using = Long2String.class
    )
    @JsonDeserialize(
            using = String2Long.class
    )
    @TableId
    private Long id;

    private String dataName;

    private Date createTime;

    private String createrId;
    private static final long serialVersionUID = 1L;

    public DataDictModel() {
    }

}
